set term eps
set output "NewtonMethodDemon.eps"
set xrange [0:4]
set label "x_n" at 2, -1
set label "x_{n+1}" at 1.25, -1
set arrow from 2,0 to 2,3 nohead dashtype "-" lw 3
set key at 3.3,14
plot x*x-1 w l lw 3 title "y=f(x)", 4*x-5 w l lw 3 title "tangent line", 0 w l lw 3 title "y=0"
